<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录</title>
<script src="/public/js/login/jquery-1.12.4.min.js"></script>
<script type="text/javascript">
	var webUrl = "${web.url}";
	//var webUrl = "http://10.18.220.142:8080/";
	$(document).ready(function(){
		$.ajax({
			url: webUrl+"checklogin.do",
			type:"post"
		}).done(function(data){
			var result = data.bo;
			if(result == 0){
				location.href = webUrl+"public/page/main.html";
			}else if(result == 1){
				location.href = webUrl+"public/page/login/login.html";
			}
		});
	});
</script>
</head>
<body>

</body>
</html>